<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>JSCoverage - news</title>
<link rel="alternate" type="application/rss+xml" href="http://siliconforks.com/jscoverage/news.xml" title="RSS feed for JSCoverage">
<link rel="stylesheet" type="text/css" href="reset-fonts-grids.css">
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div id="doc3" class="yui-t5">
  <div id="hd"><h1><a href="./">JSCoverage</a><br><span class="tag">code coverage for JavaScript</span></h1></div>  
  <div id="bd">
    <div id="yui-main"> 
      <div id="jscoverage-main" class="yui-b">
        <h2>News <a href="http://siliconforks.com/jscoverage/news.xml" type="application/rss+xml" title="RSS feed for JSCoverage"><img src="feed-icon-14x14.png" alt="RSS feed"></a></h2>

        <h3><a name="20100923">September 23, 2010 - JSCoverage 0.5.1</a></h3>
        <p>
        JSCoverage 0.5.1 is available for <a href="http://siliconforks.com/jscoverage/download.html">download</a>.
        </p>
        <p>
        This release contains several bug fixes and improvements:
        </p>
        <ul class="list">
        <li>
        Probably the largest change is in the documentation: the manual no
        longer recommends using <code>file:</code> URLs.
        It is recommended that an HTTP server be used instead.
        (See the <a href="manual.html">manual</a> for details.)
        The JSCoverage user interface now displays a warning when used with
        <code>file:</code> URLs.
        </li>
        <li>
        The <code>--verbose</code> option to <code>jscoverage</code> now
        produces better output.
        </li>
        <li>
        Report loading is now faster (thanks to Klaus).
        </li>
        <li>
        Some bugs involving augmented object prototypes were fixed.
        </li>
        <li>
        JavaScript instrumentation was improved to work better in non-browser
        environments.
        </li>
        <li>
        Some cases where permission errors were occurring in inverted mode were
        fixed (thanks to tn).
        </li>
        <li>
        Previously, if <code>jscoverage-server</code> was started with the
        option <code>--ip-address=<var>A</var></code>, where <var>A</var> was a
        specific IP address, it was impossible to shut it down with
        <code>jscoverage-server --shutdown</code>.
        This should be possible now by running
        <code>jscoverage-server --shutdown --ip-address=<var>A</var></code>
        from the same machine.
        </li>
        <li>
        The test suite has been made more robust.
        </li>
        </ul>

        <h3><a name="20100426">April 26, 2010 - New blog</a></h3>
        <p>
        If you would like to see some case studies showing how to use JSCoverage in practice, take a look at the new <a href="http://blog.siliconforks.com/">blog</a>.
        This week there will be a series of articles about using JSCoverage with various JavaScript testing frameworks.
        The <a href="http://blog.siliconforks.com/2010/04/26/jscoverage-scriptaculous/">first article</a> looks at using JSCoverage with the <a href="http://script.aculo.us">script.aculo.us</a> test suite.
        </p>

        <h3><a name="20100424">April 24, 2010 - JSCoverage 0.5</a></h3>
        <p>
        JSCoverage 0.5 is available for <a href="http://siliconforks.com/jscoverage/download.html">download</a>.
        </p>
        <p>
        This release contains a number of new features and bug fixes:
        </p>
        <ul class="list">
        <li>
        A new mode of operation, called "window mode", allows you to run code in a new browser window (or tab).
        </li>
        <li>
        Code coverage statistics can now be generated for applications based on
        the Mozilla platform using the <code>--mozilla</code> option (thanks to
        Murali Nandigama for help creating this).
        </li>
        <li>
        The method used to calculate overall percentage code coverage for all
        files has changed.  Previously, the calculation was done using an
        unweighted average: each file's percentage code coverage contributed
        equally to the total, regardless of the number of lines of code in the
        file.  Now, the calculation is done using a weighted average.  This
        fixes
        <a href="http://siliconforks.com/jscoverage/bugs/6">bug #6</a> (thanks to
        Liu Cougar).
        </li>
        <li>
        Contiguous lines in the "Missing" column are now grouped together (thanks to
        Liu Cougar).
        </li>
        <li>
        The "Source" tab is no longer empty when code being tested throws an
        uncaught exception
        (fixing <a href="http://siliconforks.com/jscoverage/bugs/5">bug #5</a>)
        </li>
        <li>
        Previously, certain uses of the <code>new</code> operator were
        instrumented incorrectly; this has now been fixed
        (thanks to Guillaume Lung).
        </li>
        <li>
        The <code>jscoverage-server</code> program now allows more characters in
        URLs (thanks to Guillaume Lung).
        </li>
        <li>
        The <code>jscoverage-server</code> program now handles HTTP headers with
        empty values (thanks to Velo).
        </li>
        <li>
        The <code>jscoverage</code> program now refuses to instrument code which
        has already been instrumented (thanks to Velo).
        </li>
        <li>
        URLs containing spaces now work correctly (thanks to Igor Papkov).
        </li>
        <li>
        Previously, on Windows, the <code>jscoverage</code> program
        was unable to instrument a directory in a drive root; this has now been
        fixed.
        </li>
        <li>
        Encoded URLs are now handled better in the query string.
        </li>
        <li>
        A limitation of 65,535 lines per file and 65,535 characters per line has
        been removed.
        </li>
        <li>
        Floating-point numbers are now handled with improved precision.
        </li>
        <li>
        The <code>jscoverage-server</code> program can no longer bind to the same port multiple times on Windows.
        </li>
        <li>
        Some bugs in <code>jscoverage-server</code>'s handling of the "chunked"
        Transfer-Encoding have been fixed.
        </li>
        <li>
        Compilation under Cygwin now uses the <code>-mno-cygwin</code> flag.
        </li>
        <li>
        The wire format used for submitting coverage reports for storage by
        <code>jscoverage-server</code> has changed.  (This change will not have
        any visible effects for most users; it will only be of interest to those
        who have written code which parses that format.)
        </li>
        </ul>

        <h3><a name="20081211">December 11, 2008 - JSCoverage 0.4</a></h3>
        <p>
        JSCoverage 0.4 is available for <a href="http://siliconforks.com/jscoverage/download.html">download</a>.
        </p>
        <p>
        This release includes many new features:
        </p>
        <ul class="list">
        <li>
        The new <code>jscoverage-server</code> program is provided as an
        alternative to the <code>jscoverage</code> program.  The
        <code>jscoverage-server</code> program is a simple HTTP server which
        instruments JavaScript code as it is served; this allows you to execute
        JavaScript and gather code coverage statistics without a preliminary
        step of creating instrumented code. The <code>jscoverage-server</code>
        program can either serve files directly from the filesystem or run as a
        proxy server (with the <code>--proxy</code> option), instrumenting
        JavaScript provided by another web server.
        <li>
        Using <code>jscoverage-server</code>, coverage reports can now be stored
        to the filesystem.
        </li>
        <li>
        JSCoverage now recognizes special JavaScript comments which specify that
        certain lines of code should be ignored in coverage reports.
        </li>
        <li>
        The new <code>--encoding</code> option provides better support for
        different character encodings.
        </li>
        <li>
        The JSCoverage user interface is now faster and more responsive.
        </li>
        <li>
        The new <code>--no-highlight</code> option can be used to disable syntax
        highlighting (giving better performance for large JavaScript files).
        </li>
        <li>
        The build system has been modified so that <code>make install</code>
        only installs the <code>jscoverage</code> and
        <code>jscoverage-server</code> executables and their manual pages.
        (Previous versions installed SpiderMonkey library and executable files,
        which could conflict with other versions of SpiderMonkey installed on
        your system.)
        </li>
        <li>
        JSCoverage now supports several features beyond those found in the
        <cite>ECMAScript Language Specification</cite>, including the following:
        <ul class="list">
        <li>getters and setters
        <li><code>for each</code> loops
        <li>generators and iterators
        <li>the <code>let</code> keyword
        <li>destructuring assignment
        <li>array comprehensions
        <li>expression closures
        <li>generator expressions
        </ul>
        Use the new <code>--js-version</code> option to enable these features.
        </li>
        </ul>
        <p>
        The GCC C++ compiler (<code>g++</code>) is now required to compile
        JSCoverage.  (Previously, only the C compiler was needed.)
        </p>
        <p>
        Please report any bugs you find using the new <a href="http://siliconforks.com/jscoverage/bugs/">bug tracker</a>.
        </p>

        <h3><a name="20080331">March 31, 2008 - JSCoverage and Firefox 3</a></h3>
        <p>
        The <a href="faq.html">JSCoverage FAQ</a> has been updated to address problems using JSCoverage with Firefox 3.
        </p>

        <h3><a name="20080324">March 24, 2008 - JSCoverage in Debian GNU/Linux</a></h3>
        <p>
        JSCoverage is now <a href="http://packages.debian.org/sid/jscoverage">available</a> in the Debian unstable distribution.
        </p>

        <h3><a name="20071122">November 22, 2007 - JSCoverage 0.3.1</a></h3>
        <p>
        JSCoverage 0.3.1 is available for <a href="http://siliconforks.com/jscoverage/download.html">download</a>.
        </p>
        <p>
        This release has a number of bug fixes:
        </p>
        <ul class="list">
        <li>
        It should now be possible to run the native Windows version of <code>jscoverage</code>
        with minimal privileges.
        </li>
        <li>
        All files used by JSCoverage now use a <code>jscoverage</code>
        prefix to avoid name collisions.
        </li>
        <li>
        Compilation bugs which occurred under some versions of MSYS have been fixed.
        </li>
        <li>
        Various documentation improvements.
        </li>
        </ul>

        <h3><a name="20070826">August 26, 2007 - JSCoverage 0.3</a></h3>
        <p>
        JSCoverage 0.3 is available for <a href="http://siliconforks.com/jscoverage/download.html">download</a>.
        </p>
        <p>
        This release has the following new features:
        </p>
        <ul class="list">
        <li>
        The coverage summary now displays bar graphs (thanks to Ross Simpson).
        </li>
        <li>
        A progress bar is displayed for lengthy computations.
        </li>
        <li>
        JavaScript syntax highlighting has improved.
        </li>
        <li>
        The display of missed statements can be turned on and off.
        </li>
        <li>
        New "inverted mode" provides better support for working with <a href="http://www.jsunit.net/">JsUnit</a>.
        </li>
        </ul>

        <h3><a name="20070823">August 23, 2007 - JSCoverage in Linux Format magazine</a></h3>
        <p>
        JSCoverage is in the October 2007 issue of Linux Format magazine
        (<a href="http://www.linuxformat.co.uk/modules.php?op=modload&amp;name=NewArchives&amp;issue=97">table of contents</a>).
        </p>

        <h3><a name="20070731">July 31, 2007 - Subversion repository now available</a></h3>
        <p>
        See the <a href="http://siliconforks.com/jscoverage/download.html">download page</a> for instructions on accessing the Subversion repository.
        </p>

        <h3><a name="20070708">July 8, 2007 - JSCoverage 0.2</a></h3>
        <p>
        JSCoverage 0.2 is available for <a href="http://siliconforks.com/jscoverage/download.html">download</a>.
        </p>
        <p>
        JSCoverage 0.2 features a new tabbed user interface.
        </p>

        <h3><a name="20070701">July 1, 2007 - JSCoverage 0.1.1</a></h3>
        <p>
        JSCoverage 0.1.1 is available for <a href="http://siliconforks.com/jscoverage/download.html">download</a>.
        </p>
        <p>
        JSCoverage 0.1.1 fixes a bug that can cause large JavaScript files to be truncated when viewed with Opera.
        </p>

        <h3><a name="20070615">June 15, 2007 - documentation of JSCoverage internals</a></h3>
        <p>
        A new document,
        <a href="http://siliconforks.com/doc/parsing-javascript-with-spidermonkey/">Parsing JavaScript with SpiderMonkey</a>,
        describes the technique used by JSCoverage to parse JavaScript programs.
        </p>

        <h3><a name="20070530">May 30, 2007 - new examples</a></h3>
        <p>
        Added some <a href="demo.html">examples</a> of running JSCoverage on popular JavaScript libraries.
        </p>

        <h3><a name="20070526">May 26, 2007 - JSCoverage 0.1</a></h3>
        <p>
        JSCoverage 0.1 is available for <a href="http://siliconforks.com/jscoverage/download.html">download</a>.
        </p>
      </div>
    </div>
    <div id="jscoverage-sidebar" class="yui-b">
      <ul>
      <li><a href="./">Home</a>
      <li>News <a href="http://siliconforks.com/jscoverage/news.xml" type="application/rss+xml" title="RSS feed for JSCoverage"><img src="feed-icon-14x14.png" alt="RSS feed"></a>
      <li><a href="manual.html">Documentation</a>
      <li><a href="demo.html">Demo</a>
      <li><a href="http://siliconforks.com/jscoverage/download.html">Download</a>
      <li><a href="faq.html">FAQ</a>
      <li><a href="help.html">Help</a>
      <li><a href="license.html">License</a>
      <li><a href="links.html">Links</a>
      <li><a href="users.html">Users</a>
      <li><a href="http://siliconforks.com/jscoverage/bugs/">Bug tracker</a>
      </ul>
    </div> 
  </div>
  <div id="ft">
    <address>
      Copyright &copy; 2007, 2008, 2009, 2010 <a href="http://siliconforks.com/"><img src="siliconforks-16x16.png" width="16" height="16" class="icon" alt="Silicon Forks"></a> <a href="http://siliconforks.com/">siliconforks.com</a><br>
      <a href="mailto:jscoverage@siliconforks.com">jscoverage@siliconforks.com</a>
    </address>
  </div>  
</div>
</body>
</html>
